<form class="form-horizontal" role="form" method="post" action="<?php echo Yii::app()->createUrl('stugsp/addinte');?>">
									 <div class="form-group">
										<label class="col-sm-4 control-label no-padding-right" > 项目名称：</label>

										<div class="col-sm-4">
											<select class="form-control validate[required]" inte = "ycjy" name = "inteItemId"> 
																<option value="">&nbsp;</option>
																<?php 
																foreach($inte as $i){
																echo '<option value="'.$i->inteItemId.'">'.$i->name.'</option>';
																
																}
																?>
																
																
																
										</select>
										</div>
									</div>
									<div class="space-4"></div>
									 <div class="form-group">
										<label class="col-sm-4 control-label no-padding-right" for="form-field-1"> 主要内容：</label>

										<div class="col-sm-4">
											<input readonly="readonly" type="text" class="form-control validate[required]" id="ycjy" value="未选择项目" name="">
										</div>
									</div>

									
								<div class="space-4"></div>
									<div class="form-group">
										<label class="col-sm-4 control-label no-padding-right" for="form-field-1"> 参加时间：</label>
										
										<div class="col-sm-4">
											<select class="form-control validate[required]"   name="term">
																<option value="">&nbsp;</option>
																<option value="第一学期">第一学期</option>
																<option value="第二学期">第二学期</option>
																<option value="第三学期">第三学期</option>
																<option value="第四学期">第四学期</option>
																<option value="第五学期">第五学期</option>
																<option value="第六学期">第六学期</option>
																<option value="第七学期">第七学期</option>
																<option value="第八学期">第八学期</option>
																
										</select>
										</div>
									</div>

								

									<div class="space-4"></div>
                                  
                                   
									<div class="form-group">
										<label class="col-sm-4 control-label no-padding-right" for="form-input-readonly"> 详情: </label>

										<div class="col-sm-4">
											<textarea col="23" rows="14" class="form-control validate[required]" name="detail" placeholder="填写具体的详细信息，信息越详细，越快通过审核，谢谢合作"></textarea>
										    <span class="help-button" data-rel="popover" data-trigger="hover" data-placement="right" data-content="填写具体的详细信息，信息越详细，越快通过审核，谢谢合作" title="" data-original-title="亲，您好">?</span>
										</div>
									</div>

									<div class="space-4"></div>

									

									<div class="space-4"></div>

									<div class="form-group">
										<label class="col-sm-4 control-label no-padding-right" for="form-field-6">申请学分：</label>

										<div class="col-sm-4">
											<input data-rel="tooltip" class="validate[required,custom[number]]" type="text" placeholder="申请学分" title="" data-placement="bottom" name="credit" data-original-title="填写实数">
											<span class="help-button" data-rel="popover" data-trigger="hover" data-placement="right" data-content="请参照下面的表格来填写学分！" title="" data-original-title="亲，您好请填写实数">?</span>
										</div>
									</div>

									<div class="space-4"></div>

								

									<div class="clearfix form-actions">
										<div class="col-md-offset-5 col-md-7">
											<button class="btn btn-info" type="submit">
												<i class="icon-ok bigger-110"></i>
												提交
											</button>

											
										</div>
									</div>

								
	</form>

<h3>帮助文档</h3>
	<div class="well">
     <table class="table table-bordered table-striped">
      <thead>
        <tr>
          
          <th>主要内容</th>
          <th>项目名称</th>
          <th>帮助信息</th>
          
          
        </tr>
      </thead>
      <tbody>
        <?php
		foreach($inte as $i){
		echo '<tr>
              <td id="'.$i->inteItemId.'">'.$i->content.'</td>
			  <td>'.$i->name.'</td>
			  <td>'.$i->info.'</td>
             </tr>';
		}
		?>
        
      </tbody>
    </table>
	</div> 	

	
	
	